package org.client.iot.constant;

import java.util.UUID;

public interface GlobeConstant {
    interface HttpConfig {
        String HOST_URL = "http://121.36.197.251";
        String POST = "9527";
        String DEV_HOST_URL = "http://222.186.133.7";
        String DEV_POST = "9000";
    }

    interface SystemConfig {
        String MMKV_FILE_NAME = "IOT_DEVICE_DATA";
        String LOG_TAG = "IOT_DEVICE";
    }

    interface PAGE_DEFINE {
        int PAGE_ONE = 0;
        int PAGE_TWO = 1;
        int PAGE_THREE = 2;
        int PAGE_FOUR = 3;
    }

    interface BLE_SERVICE {
        UUID SERVICE_UUID = UUID.fromString("0000ffe0-0000-1000-8000-00805f9b34fb");
        UUID WRITE_NO_RESPONE_UUID = UUID.fromString("0000ffe1-0000-1000-8000-00805f9b34fb");
        UUID NOTIFY_UUID = UUID.fromString("0000ffe2-0000-1000-8000-00805f9b34fb");

        UUID READ_UUID = UUID.fromString("bae80011-4f05-4503-8e65-3af1f7329d1f");
        UUID WRITE_UUID = UUID.fromString("bae80010-4f05-4503-8e65-3af1f7329d1f");
    }
    interface WIFI_STATS{
        Integer CONNECTING = 0;
        Integer CONNECTED = 1;
        Integer FAILED = 2;
        Integer TIME_OUT = 3;
    }
    interface CacheKey {
        String USER_INFO = "USER_INFO";//登录用户信息
    }

    interface MonitorData {
        String ARG_START_DATE = "start_date";
        String ARG_END_DATE = "end_date";
        String ARG_DATA = "detail_data";
    }
}
